home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / lists / linsert < prev    next >
Encoding:
Text File  |  1993-10-26  |  644 b   |  18 lines  |  [TEXT/$Tcl]

  1.  
  2.           linsert list index element ?element element ...?
  3.  
  4.  
  5.      DESCRIPTION
  6.           This command produces a new list from list by inserting  all
  7.           of  the element arguments just before the indexth element of
  8.           list.  Each element argument will become a separate  element
  9.           of  the  new  list.  If index is less than or equal to zero,
  10.           then the new elements are inserted at the beginning  of  the
  11.           list.   If  index  is greater than or equal to the number of
  12.           elements in the list, then the new elements are appended  to
  13.           the list.
  14.  
  15.  
  16.      KEYWORDS
  17.           element, insert, list
  18.